package com.yeban.javase.day06.test04_localtime.test09;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/10/14
 */
class Student {
    private String name;
    private int num;
    private String birthDay;

    public Student() {
    }

    public Student(String name, int num, String birthDay) {
        this.name = name;
        this.num = num;
        this.birthDay = birthDay;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return num
     */
    public int getNum() {
        return num;
    }

    /**
     * 设置
     * @param num
     */
    public void setNum(int num) {
        this.num = num;
    }

    /**
     * 获取
     * @return birthDay
     */
    public String getBirthDay() {
        return birthDay;
    }

    /**
     * 设置
     * @param birthDay
     */
    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String toString() {
        return "Student{name = " + name + ", num = " + num + ", birthDay = " + birthDay + "}";
    }
}

